Optimal. Leaf size=29 \[ \log (x) (A c+b B)-\frac {A b}{2 x^2}+\frac {1}{2} B c x^2 \]
________________________________________________________________________________________
Rubi [A] time = 0.03, antiderivative size = 29, normalized size of antiderivative = 1.00, number of steps used = 4, number of rules used = 3, integrand size = 22, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.136, Rules used = {1584, 446, 76} \begin {gather*} \log (x) (A c+b B)-\frac {A b}{2 x^2}+\frac {1}{2} B c x^2 \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 76
Rule 446
Rule 1584
Rubi steps
\begin {align*} \int \frac {\left (A+B x^2\right ) \left (b x^2+c x^4\right )}{x^5} \, dx &=\int \frac {\left (A+B x^2\right ) \left (b+c x^2\right )}{x^3} \, dx\\ &=\frac {1}{2} \operatorname {Subst}\left (\int \frac {(A+B x) (b+c x)}{x^2} \, dx,x,x^2\right )\\ &=\frac {1}{2} \operatorname {Subst}\left (\int \left (B c+\frac {A b}{x^2}+\frac {b B+A c}{x}\right ) \, dx,x,x^2\right )\\ &=-\frac {A b}{2 x^2}+\frac {1}{2} B c x^2+(b B+A c) \log (x)\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.01, size = 29, normalized size = 1.00 \begin {gather*} \log (x) (A c+b B)-\frac {A b}{2 x^2}+\frac {1}{2} B c x^2 \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
IntegrateAlgebraic [F] time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {\left (A+B x^2\right ) \left (b x^2+c x^4\right )}{x^5} \, dx \end {gather*}
Verification is not applicable to the result.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.38, size = 30, normalized size = 1.03 \begin {gather*} \frac {B c x^{4} + 2 \, {\left (B b + A c\right )} x^{2} \log \relax (x) - A b}{2 \, x^{2}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 0.16, size = 42, normalized size = 1.45 \begin {gather*} \frac {1}{2} \, B c x^{2} + \frac {1}{2} \, {\left (B b + A c\right )} \log \left (x^{2}\right ) - \frac {B b x^{2} + A c x^{2} + A b}{2 \, x^{2}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.05, size = 26, normalized size = 0.90 \begin {gather*} \frac {B c \,x^{2}}{2}+A c \ln \relax (x )+B b \ln \relax (x )-\frac {A b}{2 x^{2}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 1.32, size = 28, normalized size = 0.97 \begin {gather*} \frac {1}{2} \, B c x^{2} + \frac {1}{2} \, {\left (B b + A c\right )} \log \left (x^{2}\right ) - \frac {A b}{2 \, x^{2}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 0.04, size = 25, normalized size = 0.86 \begin {gather*} \ln \relax (x)\,\left (A\,c+B\,b\right )-\frac {A\,b}{2\,x^2}+\frac {B\,c\,x^2}{2} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [A] time = 0.19, size = 26, normalized size = 0.90 \begin {gather*} - \frac {A b}{2 x^{2}} + \frac {B c x^{2}}{2} + \left (A c + B b\right ) \log {\relax (x )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________